package com.lingnan.controller;

import com.lingnan.service.ClazzFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author RIKU
 * @date 2020-06-08 20:57
 * @description //TODO
 * To change this template use File | Settings | File Templates.
 */
@RestController
@RequestMapping("clazz/feign")
public class ClazzConsumerFeignController {
    @Autowired
    private ClazzFeignService clazzFeignService;

    @RequestMapping("queryAll")
    public Object queryAll() {
        return clazzFeignService.queryAll();
    }
}

